using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace Metropolicity
{
    class DevelopedNode : GameObject
    {
        public DevelopedNode(Vector2 position)
            : base("undevelopedNode", position)
        {
           
        }
        public void setTexture(Texture2D newTexture)
        {
            texture = newTexture;
            this.rectangle = new Rectangle(
                (int)position.X,
                (int)position.Y-(int)(texture.Height-32),
                texture.Width,
                texture.Height
                );
        }
        public override void ScaleUpdate()
        {
            base.ScaleUpdate();
            rectangle = new Rectangle((int)position.X, (int)position.Y, (int)(texture.Width * scale), (int)((texture.Height - 32) * scale));
        }
        public override void Update(GameTime gameTime)
        {
        }
    }
}
